home *** CD-ROM | disk | FTP | other *** search
/ Night Owl 6 / Night Owl's Shareware - PDSI-006 - Night Owl Corp (1990).iso / 031a / wedl100.zip / DEMO.H < prev    next >
C/C++ Source or Header  |  1991-10-14  |  3KB  |  87 lines

  1.  
  2. /*---------------------------------------------------------------------------*/
  3. /*                                                                           */
  4. /*          WEDL - Windows Enhanced Dialog Library                           */
  5. /*          Copyright (c) 1991, Mike Smedley                                 */
  6. /*          All Rights Reserved                                              */
  7. /*          Module:  DEMO.H                                                  */
  8. /*                                                                           */
  9. /*---------------------------------------------------------------------------*/
  10.  
  11. #define IDM_DIALOG1     100
  12. #define IDM_DIALOG2     101
  13. #define IDM_DIALOG3     102
  14. #define IDM_DIALOG4     103
  15. #define IDM_EXIT        104
  16. #define IDM_ABOUT       105
  17.  
  18. #define ID_INSERT       200
  19. #define ID_CAPSLOCK     201
  20. #define ID_NUMLOCK      202
  21.  
  22. #define ID_SSN          300
  23. #define ID_FNAME        301
  24. #define ID_MIDINIT      302
  25. #define ID_LNAME        303
  26. #define ID_ADDRESS      304
  27. #define ID_CITY         305
  28. #define ID_STATE        306
  29. #define ID_ZIP          307
  30. #define ID_PHONE        308
  31. #define ID_HIREDATE     309
  32. #define ID_HIRETEXT     310
  33.  
  34. #define ID_RECNO        400
  35. #define ID_ARTIST       401
  36. #define ID_TITLE        402
  37. #define ID_LABEL        403
  38. #define ID_COPYRIGHT    404
  39. #define ID_MEDIA        405
  40. #define ID_PREVIOUS     406
  41. #define ID_NEXT         407
  42.  
  43. #define ID_FILENAME     500
  44. #define ID_PATHSPEC     501
  45. #define ID_FILEBOX      502
  46. #define ID_DIRBOX       503
  47. #define ID_XMODEM       504
  48. #define ID_YMODEM       505
  49. #define ID_ZMODEM       506
  50. #define ID_HANGUP       507
  51.  
  52. #define ID_NAME         600
  53. #define ID_CSZ          601
  54. #define ID_FITW         602
  55. #define ID_WAGES        603
  56. #define ID_SSTAX        604
  57.  
  58. #define BAD_DATE        900
  59. #define BAD_STATE       901
  60. #define BAD_ZIP         902
  61. #define GOTO_ARTIST     903
  62. #define BAD_FILENAME    904
  63.  
  64. /*---------------------------------------------------------------------------*/
  65.  
  66. extern int (FAR PASCAL *pcheck_date) (LPSTR);
  67. extern int (FAR PASCAL *pcheck_state) (LPSTR);
  68. extern int (FAR PASCAL *pcheck_zip_code) (LPSTR);
  69. extern int (FAR PASCAL *pcheck_file_name) (LPSTR);
  70. extern char tbuf[];
  71.  
  72. /*---------------------------------------------------------------------------*/
  73.  
  74. int FAR PASCAL check_date( LPSTR pbuf );
  75. int FAR PASCAL check_state( LPSTR pbuf );
  76. int FAR PASCAL check_zip_code( LPSTR pbuf );
  77. int FAR PASCAL check_file_name( LPSTR pbuf );
  78. int FAR PASCAL DialogProc1( HWND hDlg, unsigned message, WORD wParam,
  79.                             LONG lParam );
  80. int FAR PASCAL DialogProc2( HWND hDlg, unsigned message, WORD wParam,
  81.                             LONG lParam );
  82. int FAR PASCAL DialogProc3( HWND hDlg, unsigned message, WORD wParam,
  83.                             LONG lParam );
  84. int FAR PASCAL DialogProc4( HWND hDlg, unsigned message, WORD wParam,
  85.                             LONG lParam );
  86.  
  87.